﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QualifyResults.aspx.cs" Inherits="QualifyResults" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Qualify</title>
        <style type="text/css">
    .Lotery{font-family:Arial;font-size:11px;}
    .Title{font-family:Arial;font-size:18px;vertical-align:middle;text-align:center; font-wight:bold}
    .titlelogo{text-align:center; width:200px; vertical-align:middle}
.titletext{font-size:26px; text-align:center; vertical-align:middle}
.titlemap{font-size:16px; width:150px; vertical-align:middle; font-family:Arial; font-size:12px}
    </style>
   <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
    <script>
    function callback(res){
     if (res.error != null){
            alert(result.error.Message);
         }else{
        
            $("#htmlOut").html(res.value); 
         }
    }
    function loadData(){    
        QualifyResults.GetTable(callback);       
        
        

        
    }
    $(document).ready(function() {
        loadData();
        setInterval("loadData()",<%=(int)Session["QFTimer"]%>);
   });
        
    </script>
</head>
<body style="background-image: url('img/bg_screen.jpg'); background-position:center; background-repeat:no-repeat">
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr><td><img src="img/logo_tmap.jpg" /></td>
        <td class="Title">Qualify round <%=oTournament.Tournament_Name%></td>        
          <td class="titlemap">
                <table style="width:150px;">
                    <tr>
                        <td style="text-align:center"><img style="vertical-align:middle;margin-bottom:3px"  src="img/ico_ok.png" /></td>
                        <td>Qualified</td>
                    </tr>
                    <tr>
                        <td style="text-align:center"><img style="vertical-align:middle;margin-bottom:3px" src="img/ico_wait.png" /></td>
                        <td>Wait</td>
                    </tr>
                    <tr>
                        <td style="text-align:center"><img style="vertical-align:middle;margin-bottom:3px" src="img/ico_not.png" /></td>
                        <td>Not qualified</td>
                    </tr>
                    <tr>
                        <td style="text-align:center"><img style="vertical-align:middle;margin-bottom:3px" src="img/joker.gif"/></td>
                        <td>Joker score</td>
                    </tr>
                </table>               
        </tr>        
    </table>
    <div id="htmlOut"></div>
    
    </form>
</body>
</html>
